#include <QObject>
#include <QString>
#include "cacheitem.h"

CacheItem::CacheItem( QObject * parent ) :
	QObject( parent )
{
}
CacheItem::CacheItem( const QString & name, const int id, QObject * parent ):
		m_name( name ), m_arrayId( id ), QObject( parent )
{
}

CacheItem::CacheItem( const CacheItem & item, QObject * parent ):
				m_name( item.name() ), m_arrayId( item.id() ), QObject( parent )
{

}

CacheItem & CacheItem::operator=( CacheItem const & item )
{
	m_name = item.name();
	m_arrayId = item.id();
	return * this;
}
